package student.dto;

/**
 * @author yangdiankang@51tiangou.com
 * @date 2020/5/9.
 */
public class StudentDto {

    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 学号
     */
    private String num;

    /**
     * 老师Id
     */
    private Integer teacherId;


    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public StudentDto() {
    }

    public StudentDto(Integer id, String name, Integer age, String num, Integer teacherId) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.num = num;
        this.teacherId = teacherId;
    }
}
